package itqf.dao.impl;



import itqf.entity.Cart;

import java.util.List;

/**
 * com.itqf.dao.impl
 * 2020/9/16
 */
public interface CartDao {
        Cart findCartByUidAndPid(int uid, int pid);

        //有
        int update(Cart cart);
        //没有
        int addCart(Cart cart);
        //查询购物车
        List<Cart> findAllCart(int uid);

        int  del(int uid, int pid);

}
